package com.lingxu.module.result.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lingxu.base.common.api.vo.Result;
import com.lingxu.module.result.entity.ApprovalParams;
import com.lingxu.module.result.entity.ResultFeedback;

/**
 * @Title: ResultFeedback
 * @Package: com.lingxu.module.result.service
 * @Author: ysj闫世杰
 * @Email: 1105324813@qq.com
 * @Date: Created in 2023/12/7 9:16
 * @Description:
 * @Version: 1.0.0
 */
public interface ResultFeedbackService extends IService<ResultFeedback> {

    /**
     * @Author ysj闫世杰
     * @Description 查询需要审批成效反馈记录的模型
     * @Date 2023/12/7 9:32
     * @Param: page
     * @Param: limit
     * @Param: status
     * @return com.lingxu.base.common.api.vo.Result
     **/
    Result findModelFeedBackList(Integer page, Integer limit, String status,String keyWord);

    /**
     * @Author ysj闫世杰
     * @Description 查询待审批的成效反馈列表
     * @Date 2023/12/7 10:30
     * @Param: page
     * @Param: limit
     * @Param: status
     * @Param: modelId
     * @return com.lingxu.base.common.api.vo.Result
     **/
    Result findNeedApproval(Integer page, Integer limit,String status,String modelId,String types);

    /**
     * @Author ysj闫世杰
     * @Description
     * @Date 2023/12/7 13:46 
     * @Param: id
     * @return com.lingxu.base.common.api.vo.Result
     **/
    Result findupLoadFileList(String id);

    /**
     * @Author ysj闫世杰
     * @Description 审批
     * @Date 2023/12/7 16:07
     * @Param: params
     * @return com.lingxu.base.common.api.vo.Result
     **/
    Result updateApproval(ApprovalParams params);
}
